package com.sxy.demo.sxy;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 描述：供应商信息审核
 * 数据库表名：member_supplier_audit
 * @author caoxiaobo
 * @date 2022-9-6 13:50:34
 */
@Data
@TableName("rms_member_supplier_audit")
public class MemberSupplierAudit extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;
   

    /**
     * 字段：member_supplier_audit.id
     * 描述：主键id(供应商id)
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 字段：member_supplier_audit.shop_name
     * 描述：店铺名称
     */
    private String shopName;

    /**
     * 字段：member_supplier_audit.user_id
     * 描述：用户id
     */
    private Long userId;

    /**
     * 字段：member_supplier_audit.platform_type
     * 描述：平台类型，1-电商，2-盗龄
     */
    private String platformType;

    /**
     * 字段：member_supplier_audit.business_type
     * 描述：业务类型：10-一件代发、20-入仓寄售
     */
    private String businessType;

    /**
     * 字段：member_supplier_audit.main_type
     * 描述：主营商品类型：1-常规品、2-清仓品
     */
    private String mainType;

    /**
     * 字段：member_supplier_audit.station_source
     * 描述：商家入驻来源(10-自主入驻, 20-商家邀请, 21-小b邀请 22-外部招采邀请 23-内部招采邀约)
     */
    private String stationSource;

    /**
     * 字段：member_supplier_audit.external_identity
     * 描述：外部身份标识(0:默认身份,1:唯代购身份)
     */
    private Integer externalIdentity;

    /**
     * 字段：member_supplier.state
     * 描述：状态 0-失效,1-有效
     */
    private String state;

    /**
     * 字段：member_supplier_audit.supplier_code
     * 描述：商家编码
     */
    private String supplierCode;

    /**
     * 字段：member_supplier_audit.supplier_name
     * 描述：供应商名称(公司名/别名)
     */
    private String supplierName;

    /**
     * 字段：member_supplier_audit.supplier_mobile
     * 描述：供应商手机号
     */
    private String supplierMobile;

    /**
     * 字段：member_supplier_audit.contacts_name
     * 描述：联系人名称
     */
    private String contactsName;

    /**
     * 字段：member_supplier_audit.contacts_mobile
     * 描述：联系人电话
     */
    private String contactsMobile;

    /**
     * 字段：member_supplier_audit.contacts_customer_hotline
     * 描述：客服热线
     */
    private String contactsCustomerHotline;

    /**
     * 字段：member_supplier_audit.company_name
     * 描述：企业全称(供应商注册公司名称)
     */
    private String companyName;

    /**
     * 字段：member_supplier_audit.company_logo
     * 描述：企业logo
     */
    private String companyLogo;

    /**
     * 字段：member_supplier_audit.company_province_id
     * 描述：企业地址省id
     */
    private Long companyProvinceId;

    /**
     * 字段：member_supplier_audit.company_city_id
     * 描述：企业地址市id
     */
    private Long companyCityId;

    /**
     * 字段：member_supplier_audit.company_county_id
     * 描述：企业地址区id
     */
    private Long companyCountyId;

    /**
     * 字段：member_supplier_audit.company_town_id
     * 描述：企业地址镇id
     */
    private Long companyTownId;

    /**
     * 字段：member_supplier_audit.company_address
     * 描述：企业地址-详细地址
     */
    private String companyAddress;

    /**
     * 字段：member_supplier_audit.company_business_license_img
     * 描述：企业营业执照原件
     */
    private String companyBusinessLicenseImg;

    /**
     * 字段：member_supplier_audit.company_business_license_expire_time
     * 描述：企业营业执照到期时间(2099-12-12表示永久)
     */
    private Date companyBusinessLicenseExpireTime;

    /**
     * 字段：member_supplier.company_business_license_long_term
     * 描述：企业营业执照到期时间 0否1是
     */
    private Boolean companyBusinessLicenseLongTerm;
    /**
     * 字段：member_supplier_audit.company_unified_credit_code
     * 描述：企业统一信用代码
     */
    private String companyUnifiedCreditCode;

    /**
     * 字段：member_supplier_audit.legal_person_name
     * 描述：法人姓名
     */
    private String legalPersonName;

    /**
     * 字段：member_supplier_audit.legal_person_identity
     * 描述：法人身份证号
     */
    private String legalPersonIdentity;

    /**
     * 字段：member_supplier_audit.legal_person_identity_imgs
     * 描述：法人身份证原件(第一张正面 第二张反面)
     */
    private String[] legalPersonIdentityImgs;

    /**
     * 字段：member_supplier_audit.legal_person_identity_expire_time
     * 描述：法人身份证到期时间(2099-12-12表示永久)
     */
    private Date legalPersonIdentityExpireTime;

    /**
     * 字段：member_supplier.legal_person_identity_long_term
     * 描述：身份证有效期是否长期
     */
    private Boolean legalPersonIdentityLongTerm;

    /**
     * 字段：member_supplier_audit.bank_account_no
     * 描述：企业对公账号
     */
    private String bankAccountNo;

    /**
     * 字段：member_supplier_audit.bank_account_name
     * 描述：开户银行名称
     */
    private String bankAccountName;

    /**
     * 字段：member_supplier_audit.bank_main_account_img
     * 描述：存款账户信息
     */
    private String bankMainAccountImg;

    /**
     * 字段：member_supplier_audit.bank_subbranch
     * 描述：开户行所属支行
     */
    private String bankSubbranch;

    /**
     * 字段：member_supplier_audit.bank_deposit_province_id
     * 描述：开户行所在的省id
     */
    private Long bankDepositProvinceId;

    /**
     * 字段：member_supplier_audit.bank_deposit_city_id
     * 描述：开户行所在市id
     */
    private Long bankDepositCityId;

    /**
     * 字段：member_supplier_audit.power_of_attorney_file
     * 描述：委托授权书
     */
    private String powerOfAttorneyFile;

    /**
     * 字段：member_supplier_audit.contract_purchases_files
     * 描述：清仓品-采购合同
     */
    private String[] contractPurchasesFiles;

    /**
     * 字段：member_supplier_audit.letter_of_commitment_files
     * 描述：清仓品-承诺书
     */
    private String[] letterOfCommitmentFiles;

    /**
     * 字段：member_supplier_audit.inviter
     * 描述：邀约人
     */
    private Long inviter;

    /**
     * 字段：member_supplier.recruiters_id
     * 描述：招采负责人(审核人指定)
     */
    private Long recruitersId;

    /**
     * 字段：member_supplier.recruiters_id
     * 描述：招采负责人名字
     */
    private String recruitersName;

    /**
     * 字段：member_supplier.entry_time
     * 描述：入驻时间
     */
    private Date entryTime;

    /**
     * 字段：member_supplier_audit.audit_status
     * 描述：审核状态：1-入驻待提交、2-修改待提交 10-待审核 20-审核通过 30-审核拒绝
     */
    private String auditStatus;

    /**
     * 字段：member_supplier_audit.submit_desc
     * 描述：申请人提交备注
     */
    private String submitDesc;

    /**
     * 字段：member_supplier_audit.submit_time
     * 描述：提交审核时间
     */
    private Date submitTime;

    /**
     * 字段：member_supplier_audit.submit_img
     * 描述：申请人提交证明
     */
    private String submitImg;

    /**
     * 字段：member_supplier_audit.audit_desc
     * 描述：审核人审核备注
     */
    private String auditDesc;

    /**
     * 字段：member_supplier_audit.submit_time
     * 描述：审核时间
     */
    private Date auditTime;

    /**
     * 字段：member_supplier_audit.audit_img
     * 描述：审核人审核证明
     */
    private String[] auditImg;

    /**
     * 字段：member_invite.version
     * 描述：版本号（记录修改日志）
     */
    private String version;

    /**
     * 字段：member_supplier_audit.description
     * 描述：备注
     */
    private String description;

    /**
     * 商家类型 CROSS_BORDER=跨境商家 DOMESTIC=国内商家
     */
    private String merchantType;

    /**
     * 业务类型 DOMESTIC=国内 BONDED_BUSINESS=保税业务 OVERSEAS_DIRECT_MAIL=海外直邮
     */
    private String merchantBusinessType;

    /**
     * 证件类型-跨境商家专有 CARD_CHINA=国内身份证  CARD_ABROAD=国外身份证 OVERSEAS_DRIVER_LICENSE_CARD=境外驾驶证 PASSPORT=护照
     */
    private String cardType;

    /**
     * 联系地址-跨境商家专有
     */
    private String contactsAddress;

    public static final String Id = "id";
    public static final String Shop_name = "shop_name";
    public static final String User_id = "user_id";
    public static final String Platform_type = "platform_type";
    public static final String Business_type = "business_type";
    public static final String Main_type = "main_type";
    public static final String Station_source = "station_source";
    public static final String External_identity = "external_identity";
    public static final String State = "state";
    public static final String Supplier_code = "supplier_code";
    public static final String Supplier_name = "supplier_name";
    public static final String Supplier_mobile = "supplier_mobile";
    public static final String Contacts_name = "contacts_name";
    public static final String Contacts_mobile = "contacts_mobile";
    public static final String Contacts_customer_hotline = "contacts_customer_hotline";
    public static final String Company_name = "company_name";
    public static final String Company_logo = "company_logo";
    public static final String Company_province_id = "company_province_id";
    public static final String Company_city_id = "company_city_id";
    public static final String Company_county_id = "company_county_id";
    public static final String Company_town_id = "company_town_id";
    public static final String Company_address = "company_address";
    public static final String Company_business_license_img = "company_business_license_img";
    public static final String Company_business_license_expire_time = "company_business_license_expire_time";
    public static final String Company_business_license_long_term = "company_business_license_long_term";
    public static final String Company_unified_credit_code = "company_unified_credit_code";
    public static final String Legal_person_name = "legal_person_name";
    public static final String Legal_person_identity = "legal_person_identity";
    public static final String Legal_person_identity_imgs = "legal_person_identity_imgs";
    public static final String Legal_person_identity_expire_time = "legal_person_identity_expire_time";
    public static final String Legal_person_identity_long_term = "legal_person_identity_long_term";
    public static final String Bank_account_no = "bank_account_no";
    public static final String Bank_account_name = "bank_account_name";
    public static final String Bank_main_account_img = "bank_main_account_img";
    public static final String Bank_subbranch = "bank_subbranch";
    public static final String Bank_deposit_province_id = "bank_deposit_province_id";
    public static final String Bank_deposit_city_id = "bank_deposit_city_id";
    public static final String Power_of_attorney_file = "power_of_attorney_file";
    public static final String Contract_purchases_files = "contract_purchases_files";
    public static final String Letter_of_commitment_files = "letter_of_commitment_files";
    public static final String Inviter = "inviter";
    public static final String Recruiters_id = "recruiters_id";
    public static final String Entry_time = "entry_time";
    public static final String Audit_status = "audit_status";
    public static final String Submit_desc = "submit_desc";
    public static final String Submit_time = "submit_time";
    public static final String Submit_img = "submit_img";
    public static final String Audit_desc = "audit_desc";
    public static final String Audit_time = "audit_time";
    public static final String Audit_img = "audit_img";
    public static final String Version = "version";
    public static final String Create_time = "create_time";
    public static final String Create_user = "create_user";
    public static final String Update_time = "update_time";
    public static final String Update_user = "update_user";
    public static final String Description = "description";
    public static final String Deleted = "deleted";

    /**
     *
     * ---------------------------------依赖实体---------------------------------
     *
     *
     */

    /**
     * // 设置区域信息
     * auditDTO.setCompanyProvinceName(regionRpcService.getRegionName(auditDTO.getCompanyProvinceId()));
     * auditDTO.setCompanyCityName(regionRpcService.getRegionName(auditDTO.getCompanyCityId()));
     * auditDTO.setCompanyCountyName(regionRpcService.getRegionName(auditDTO.getCompanyCountyId()));
     * auditDTO.setCompanyTownName(regionRpcService.getRegionName(auditDTO.getCompanyTownId()));
     * auditDTO.setBankDepositCityName(regionRpcService.getRegionName(auditDTO.getBankDepositCityId()));
     * auditDTO.setBankDepositProvinceName(regionRpcService.getRegionName(auditDTO.getBankDepositProvinceId()));
     */
    private List<RegionDO> regionDTO;

    /**
     * @see recruitersId
     */
    private SysUser user;
}